<?php
if (preg_match("/iphone|android|Mobile/i", $_SERVER['HTTP_USER_AGENT'])){
	header('Location:/wap/');
}else{
	header('Location:/web/');
}
?>